﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.Entity.QD
{
    /// <summary>
    /// 施工/监理企业产量产值税金上报
    /// </summary>
    public class Tb_Corp_ProfitTotal
    {
        /*
        /// <summary>
        /// 主键，自增列
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 ID { get; set; }
        /// <summary>
        /// 企业GUID
        /// </summary>
        public String UserGuid { get; set; }
        /// <summary>
        /// 年份
        /// </summary>
        public Int32 years { get; set; }
        public String unitid { get; set; }
        /// <summary>
        /// 狗ID
        /// </summary>
        public String dogid { get; set; }
        /// <summary>
        /// 一月的值
        /// </summary>
        public Decimal? firstyield { get; set; }
        /// <summary>
        /// 二月的值
        /// </summary>
        public Decimal? secondyield { get; set; }
        /// <summary>
        /// 三月的值
        /// </summary>
        public Decimal? thirdyield { get; set; }
        /// <summary>
        /// 四月的值
        /// </summary>
        public Decimal? fourthyield { get; set; }
        /// <summary>
        /// 五月的值
        /// </summary>
        public Decimal? fifthsyield { get; set; }
        /// <summary>
        /// 六月的值
        /// </summary>
        public Decimal? sixthyield { get; set; }
        /// <summary>
        /// 七月的值
        /// </summary>
        public Decimal? seventhyield { get; set; }
        /// <summary>
        /// 八月的值
        /// </summary>
        public Decimal? eighthyield { get; set; }
        /// <summary>
        /// 九月的值
        /// </summary>
        public Decimal? ninthyield { get; set; }
        /// <summary>
        /// 十月的值
        /// </summary>
        public Decimal? tenthyidle { get; set; }
        /// <summary>
        /// 十一月的值
        /// </summary>
        public Decimal? eleventhyield { get; set; }
        /// <summary>
        /// 十二月的值
        /// </summary>
        public Decimal? twelfthyield { get; set; }
        /// <summary>
        /// 企业名
        /// </summary>
        public String unitname { get; set; }
        /// <summary>
        /// 上报类型（1产量，2产值，3税金）
        /// </summary>
        public Int32? infoType { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public String FlowCode { get; set; }
        */

        /// <summary>
        /// 主键自增
        /// </summary>
        //[Key]
        //[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        //public Int32 ID { get; set; }
        ///// <summary>
        ///// 公司dogID
        ///// </summary>
        //public String DogId { get; set; }
        ///// <summary>
        ///// 公司GUID
        ///// </summary>
        //public String CorpUserGuid { get; set; }
        ///// <summary>
        ///// 公司名称
        ///// </summary>
        //public String CorpName { get; set; }
        ///// <summary>
        ///// 年份
        ///// </summary>
        //public Int32 iYear { get; set; }
        ///// <summary>
        ///// 月份
        ///// </summary>
        //public Int32 iMonth { get; set; }
        ///// <summary>
        ///// 工程数
        ///// </summary>
        //public Int32? ProjectCount { get; set; }
        ///// <summary>
        ///// 营业额
        ///// </summary>
        //public Decimal? Turnover { get; set; }
        ///// <summary>
        ///// 代理项目中标金额
        ///// </summary>
        //public Decimal? ZBMoney { get; set; }
        ///// <summary>
        ///// 合同额
        ///// </summary>
        //public Decimal? ContractMoney { get; set; }
        ///// <summary>
        ///// 营业税
        ///// </summary>
        //public Decimal? TurnoverTax { get; set; }
        ///// <summary>
        ///// 所得税
        ///// </summary>
        //public Decimal? IncomeTax { get; set; }
        ///// <summary>
        ///// 其他税金
        ///// </summary>
        //public Decimal? OtherTax { get; set; }
        ///// <summary>
        ///// 税金总额
        ///// </summary>
        //public Decimal? TaxTotal { get; set; }
        ///// <summary>
        ///// 制单人
        ///// </summary>
        //public String CreateMan { get; set; }
        ///// <summary>
        ///// 制单人联系电话
        ///// </summary>
        //public String ContactTel { get; set; }
        ///// <summary>
        ///// 备注说明
        ///// </summary>
        //public String Memo { get; set; }
        ///// <summary>
        ///// 数据添加时间
        ///// </summary>
        //[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        //public DateTime CreateTime { get; set; }
        ///// <summary>
        ///// 数据是否有效：0有效，1无效
        ///// </summary>
        //public Boolean IsDel { get; set; }
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 ID { get; set; }
        public String DogId { get; set; }
        public String CorpUserGuid { get; set; }
        public String CorpName { get; set; }
        public Int32 iYear { get; set; }
        public Int32 iMonth { get; set; }
        public Int32? ProjectCount { get; set; }
        public Decimal? Turnover { get; set; }
        public Decimal? ZBMoney { get; set; }
        public Decimal? ContractMoney { get; set; }
        public Decimal? TurnoverTax { get; set; }
        public Decimal? IncomeTax { get; set; }
        public Decimal? OtherTax { get; set; }
        public Decimal? TaxTotal { get; set; }
        public String CreateMan { get; set; }
        public String ContactTel { get; set; }
        public String Memo { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime CreateTime { get; set; }
        public Boolean IsDel { get; set; }
        public Decimal? ContractTotalMoney { get; set; }
        public Decimal? OtherContractMoney { get; set; }
        public Decimal? TotalIncomeTax { get; set; }
        public Decimal? OtherIncomeTax { get; set; }
        public Decimal? WorkProfit { get; set; }
    }
}
